﻿using System;

public partial class admin_Main : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["name"] == null)
        {
            Response.Write("<script>alert('非法登录!!!');window.top.location='../Login.aspx';</script>");
            return;
        }
        else
        {
            
        }
    }

    //安全退出
    protected void lbt_return_Click(object sender, EventArgs e)
    {
        Session.Clear();
        Response.Redirect("../login.aspx");
    }

    
}